package com.cai.test;

public class Operators2 {
	public static void main(String[] args) {
		int val;
		val=Integer.parseInt(arg[0]);
		if(val !=0 && 1.0/val <Double.MAX_VALUE)
			System.out.println("val 的倒数为："+1.0 / val);
		else
			System.out.println("val的倒数为无穷大");
	}

}
